package com.chushouya.manager.dto.admin.partner;

import com.general.framework.core.enums.StatusEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@ApiModel("合作商/渠道推广列表")
@Data
public class PartnerPromoteListDTO {
    @ApiModelProperty("推广ID")
    private Long promoteId;

    @ApiModelProperty("推广标签")
    private String promoteLabel;

    @ApiModelProperty("推广渠道名称")
    private String promoteChannel;

    @ApiModelProperty("合作商/渠道ID")
    private Long partnerId;

    @ApiModelProperty("合作商/渠道名称")
    private String partnerName;

    @ApiModelProperty("说明")
    private String remark;

    @ApiModelProperty("状态")
    private Integer status;

    @ApiModelProperty("状态")
    private String statusDesc;

    @ApiModelProperty("操作用户")
    private String handleUser;

    @ApiModelProperty("创建时间")
    private Date createTime;

    public String getStatusDesc() {
        return StatusEnum.getDesc(status);
    }
}
